package com.haoxin.ai_course.modules.course.entity;


import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * 题目统计表表
 * 
 * @author xingxiangguo
 * @email bugcn@qq.com
 * @date 2022-06-06 09:44:49
 */
@Data
@TableName("ac_statistics_answer")
@EqualsAndHashCode(callSuper = true)
public class AcStatisticsAnswer extends Model<AcStatisticsAnswer> implements Serializable {
	private static final long serialVersionUID = 1L;
		@TableId
		@ApiModelProperty("用户统计表id")
		private Integer id;
		@ApiModelProperty("对话题目编号，来自题目表")
		private Integer topicCode;
		@ApiModelProperty("课程id")
		private Integer courseId;
		@ApiModelProperty("课程id")
		private Integer answerId;
		
		@ApiModelProperty("答案编号 A、B、C")
		private String answerCode;
		@ApiModelProperty("选中人数")
		private Integer selectedCount;
		@ApiModelProperty("选中人数占比")
		private BigDecimal selectedRate;
		@ApiModelProperty("更新者")
		private Long updateBy;
		@ApiModelProperty("创建者")
		private Long createBy;
		@ApiModelProperty("创建时间")
		private Date createTime;
		@ApiModelProperty("对话题目内容，来自题目表")
		private String topicContent;
		@ApiModelProperty("对话选项内容，来答案表")
		private String answerContent;
		@ApiModelProperty("选中情况")
		@TableField(exist = false)
		private String answerDetail;
		@ApiModelProperty("对话题目id，来自对话题目表")
		private Integer topicId;
}
